package cn.itcast.bos.service.base;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import cn.itcast.bos.domain.base.Courier;

//业务层接口
public interface CourierService {
	void save(Courier c);

	//Page<Courier> findPageData(Pageable pageable);
	
	Page<Courier> findPageData(Specification<Courier> specification, Pageable pageable);

	void delBatch(String[] idArray);

	void restoreBatch(String[] idArray);
}
